package com.cy.service;

import com.cy.bean.Student;
import com.cy.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public Student login(String sacc, String spwd) {
        return studentMapper.login(sacc,spwd);
    }
}
